package com.nanyang.tms.api.dto.request.waybill;

import com.fasterxml.jackson.annotation.JsonIgnore;
import com.nanyang.common.core.domain.ApiRequest;
import lombok.Data;
import org.hibernate.validator.constraints.Length;

import javax.validation.constraints.NotEmpty;

@Data
public class WaybillPayFeeStateRequest extends ApiRequest {
    /**
     * serialVersionUID
     */
    private static final long serialVersionUID = 1L;
    @JsonIgnore
    private String pin;
    /**
     *支出费用编码
     */
    @NotEmpty(message = "费用编码不能为空")
    @Length(max = 32, message = "payCode长度需小于32个字符")
    private String payCode;

    @Override
    public void requestCheck() {
    }
}
